<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>边框的复合写法</title>
    <style>
      div {
        width: 300px;
        height: 200px;
        /* border-width: 5px;
           border-style: solid;
           border-color: pink; */

        /* 边框的复合写法 简写: （没有顺序要求，但一个都习惯是 粗细(border-width) 线形(border-style) 颜色(border-color)） */
        /* border: 5px solid pink; */

        /* 上边框 */
        border-top: 5px solid pink;

        /* 下边框 */
        border-bottom: 10px dashed purple;
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>
